package com.wwdx.model.dto;

import lombok.Data;
import me.chanjar.weixin.common.util.ToStringUtils;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * 手机号登录
 * @author liguoliang
 */
@Data
public class MobileDTO implements Serializable {

    @NotBlank
    private String phone;
    private String nickname;
    @NotBlank
    private String password;
    private String msgid;
    private String valid;
    private Integer channelid;
    private String channel;

    @Override
    public String toString() {
        return ToStringUtils.toSimpleString(this);
    }
}